import alt from '../../alt'
import WelcomeActions from '../actions/welcome'

class WelcomeStore {

    constructor() {
    	 this.curcs = 0;
        this.curcat = 0;
        this.activeId= null;
        this.in = false;
    	this.igData = {
    		shLt:[
    			{id:0,name:"分类",catLts:[  
	    			{id:0,name:"全部"},
	    			{id:1,name:"人物"},
	    			{id:2,name:"头像"},
	    			{id:3,name:"风景"},
	    			{id:4,name:"星空"},
	    			{id:5,name:"植物"},
    			]},
    			{id:1,name:"修改时间"}
    		],

    		imgLt:[
    		{id:0,name:"人物1",date:'2011-09-21',cat:1},
    		{id:1,name:"人物2",date:'2018-09-11',cat:1},
    		{id:2,name:"人物3",date:'2012-09-02',cat:1},
    		{id:3,name:"人物4",date:'2018-09-07',cat:1},
    		{id:4,name:"人物5",date:'2018-06-01',cat:1},
    		{id:5,name:"头像1",date:'2017-09-21',cat:2},
    		{id:6,name:"头像2",date:'2018-02-11',cat:2},
    		{id:7,name:"头像3",date:'2019-09-02',cat:2},
    		{id:8,name:"头像4",date:'2018-09-07',cat:2},
    		{id:9,name:"头像5",date:'2015-01-01',cat:2},
    		{id:10,name:"风景1",date:'2018-09-21',cat:3},
    		{id:11,name:"风景2",date:'2016-09-11',cat:3},
    		{id:12,name:"风景3",date:'2016-09-02',cat:3},
    		{id:13,name:"风景4",date:'2018-09-07',cat:3},
    		{id:14,name:"风景5",date:'2012-06-22',cat:3},
    		{id:15,name:"植物1",date:'2015-09-21',cat:5},
    		{id:16,name:"植物2",date:'2018-09-01',cat:5},
    		{id:17,name:"植物3",date:'2018-09-05',cat:5},
    		{id:18,name:"植物4",date:'2014-09-27',cat:5},
    		{id:19,name:"植物5",date:'2018-06-01',cat:5},
    		{id:20,name:"星空1",date:'2018-09-21',cat:4},
    		{id:21,name:"星空2",date:'2013-09-11',cat:4},
    		{id:22,name:"星空3",date:'2011-09-12',cat:4},
    		{id:23,name:"星空4",date:'2018-02-07',cat:4},
    		{id:24,name:"星空5",date:'2001-06-01',cat:4},


    		]
    	};
     	
    	
        this.bindActions(WelcomeActions);
    }
}

export default alt.createStore(WelcomeStore, 'WelcomeStore')
